package com.gzx.plugin.tjzy.feign.gzxcase.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gzx.tjzy.feign.req.gzxcase.GzxCaseReqDto;
import org.apache.ibatis.annotations.Insert;

/**
 * @author zjt
 * @description
 * @since 2025/2/13 10:00
 */
public interface GzxCaseFeignMapper extends BaseMapper<GzxCaseReqDto> {

    @Insert("<script>" +
            "INSERT INTO gzx_case (company_code,product_code,project_code,batch_number,case_status,debtor_name," +
            "debtor_sex,debtor_phone,debtor_card_id,intent_tag,penalty_interest,loan_amount,overdue_amount," +
            "clean_loan_amount,overdue_interest,overdue_fees,overdue_status,mediator_id,mediator_name," +
            "affiliated_company,partner_business_id,tenant_id,create_time) VALUES ${batchSql}" +
            "</script>")
    void insertBatch(String batchSql);
}
